<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<ol>
<li contenteditable>foo</li>
</ol>
<div id="log"></div>
<script>
test(function() {
    getSelection().collapse(document.querySelector('li'), 0);
    document.execCommand('insertunorderedlist');
}, 'toggle-list-in-uneditable');
</script>
